package 工厂模式;

public class Addition extends Operation {
    @Override
    public double getResult() {

        //add方法
        return numberA+numberB;
    }

}
